package com.shiwaixiangcun.customer.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.shiwaixiangcun.customer.R;
import com.shiwaixiangcun.customer.module.heath.HealthReportData;

import java.util.List;

/**
 * Author   Administrator
 * Date     2018/2/7
 * Desc     eg
 *
 * @author Administrator
 */

public class AdapterHealthReport extends BaseQuickAdapter<HealthReportData, BaseViewHolder> {
    public AdapterHealthReport(@Nullable List<HealthReportData> data) {
        super(R.layout.item_health_report, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HealthReportData item) {
        helper.setText(R.id.tv_title, item.getFileName());
        helper.setText(R.id.tv_time, item.getCheckTime());

    }
}
